package com.hydl.power.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hydl.power.mapper.PowerDataNewMapper;
import com.hydl.power.pojo.PowerDataNew;
import com.hydl.power.service.PowerDataNewService;

/**
 * @author miss
 * @version V3.0
 * @since 2023/1/14 17:05
 */
@Service
public class PowerDataNewServiceImpl implements PowerDataNewService {

    @Autowired
    private PowerDataNewMapper powerDataNewMapper;


    @Override
    public List<PowerDataNew> queryPowerData(String deviceId, String time, String dataType, String minute) {
        return powerDataNewMapper.queryPowerData(deviceId,time,dataType,minute);
    }

}
